package com.infra.micro.oss.domain.service;

import com.infra.common.resp.PageEx;
import com.infra.common.resp.Response;
import com.infra.micro.oss.model.req.QueryBizInfoReq;
import com.infra.micro.oss.model.vo.BizFileVO;

import java.util.List;

public interface BizInfoService {
    Response<BizFileVO> queryByBizId(Long bizId);

    Response<List<BizFileVO>> queryByBizIds(List<Long> bizIds);

    Response<PageEx<BizFileVO, QueryBizInfoReq>> queryByPage(QueryBizInfoReq req);

    Response<Boolean> deleteByBizId(Long bizId);

    Response<Boolean> deleteByBizIds(List<Long> bizIds);
}
